/*
 * @Author: your name
 * @Date: 2021-06-24 16:12:49
 * @LastEditTime: 2021-06-24 19:31:52
 * @LastEditors: Please set LastEditors
 * @Description: 轮播管理接口
 * @FilePath: \briup\项目\briup-ui\src\api\carousel.js
 */
// 轮播图配置api
import request, { post, get } from '@/utils/request'
// 通过id删除
export function deletecarousel(data) {
  return get('/carousel/deleteById', data)
}
// 查询所有轮播图
export function findAllcarousel() {
  return get('/carousel/findAll')
}
// 查询所有轮播图
export function querycarousel(data) {
  return get('/carousel/query', data)
}
// 保存或更新
export function saveOrUpdatecarousel(data) {
  return post('/carousel/saveOrUpdate', data)
}

